package org.qiyu.live.im.core.server.common;

import io.netty.util.AttributeKey;

/**
 * @Description: 给ChannelHandlerContext修改属性
 * @Author: 张广焱
 * @Date: 2023-12-04 23:23
 */
public class ImContextAttr {
    /**
     * @Description: 绑定用户信息
     * @Param:
     * @Author: 张广焱
     * @Date: 2023-12-04  23:23:38
     */
    public static AttributeKey<Long> USER_ID = AttributeKey.valueOf("userId");

    /**
     * @Description: 绑定appid
     * @Param:
     * @Author: 张广焱
     * @Date: 2023-12-04  23:31:33
     */
    public static AttributeKey<Integer>APP_ID = AttributeKey.valueOf("appId");
}
